#include "digitalclock.h"
namespace Gui{

    DigitalClock::DigitalClock(QWidget *parent) :
        QWidget(parent)
    {
        this->setMaximumHeight(60);
        layout = new QHBoxLayout(this);
        this->setLayout(layout);

        lcdHour = new QLCDNumber(2,this);
        lcdMin = new QLCDNumber(2,this);
        lcdSec = new QLCDNumber(2,this);
        colon1 = new QLabel(":",this);
        colon2 = new QLabel(":",this);

        layout->addWidget(lcdHour);
        layout->addWidget(colon1);
        layout->addWidget(lcdMin);
        layout->addWidget(colon2);
        layout->addWidget(lcdSec);
    }

}
